<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-US" xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title>QeePHP 示例：URL伪静态</title>
<link rel='stylesheet' type='text/css' href='{:__PUBLIC__}/Css/common.css'>
</head>
<body>


    <div id="page">


        <div id="header" class="status4xx">
		<h1 id="logo"><a href="./" title="QeePHP"><img src="{:__PUBLIC__}/Image/logo.png" /></a>
		</h1>
		<!-- Navigation -->
		<div id="navigation">
			<ul>
			    <li><a class="active" href="./index.php"><span>首页</span></a></li>
				<li><a  href="{:__ROOT__}/../" title="返回"><span>返回</span></a></li>
			</ul>
		</div>
		<!-- end Navigation -->
		<div style="clear:both;height:10px;"></div>

        </div>

		<div id="content">
 <h2>QeePHP 示例之：URL伪静态</h2>
  <div class="title">可以轻而易举地通过配置来实现URL伪静态</div><br/>
<div class="result">当前URL：<br/>{:__SELF__} <br/>实际操作 <span style="color:red">{:MODULE_NAME}</span>模块 的<span style="color:red">{:ACTION_NAME}</span> 操作
	<br>参数:<br/>
	<if condition="isset( $arrGets )" >
	<foreach for=arrGets>
	{$key}=>{$value}<br/>
	</foreach>
	</if>
</div>
<div class="line"></div>
<div class="title">伪静态配置</div><br/>
	正常URL：<a href="{:__URL__}/read/id/5">/index/read/id/5</a><br/>
	伪静态URL：<a href="{:__URL__}/read/id/5.shtml">/index/read/id/5.html</a><br/>
	正常URL：<a href="{:__URL__}/read/id/5/city/shanghai">/index/read/id/5/city/shanghai</a><br/>
	伪静态URL：<a href="{:__URL__}/read/id/5/city/shanghai.html">/index/read/id/5/city/shanghai.html</a>

</div>
<div class="line"></div>
 <div class="title">示例源码</div><br/>
 <div class="li_title">配置文件Config.php</div><br/>
 <div class="code"><php>highlight_file( APP_PATH.'/App/Config/Config.php')</php></div><br>
 <div class="li_title">控制器IndexControl类</div><br/>
 <div class="code"><php>highlight_file( APP_PATH.'/App/Class/Controller/IndexController.class.php')</php></div>

<br/>
      <div id="footer">


        <p>&copy; 2010-2099 <a href="http://qeephp.114.ms/" title="QeePHP 官方网站" target="_blank">QeePHP</a></p>

      </div>

    </div>
</body>
</html>